<template>
    <el-main>
        <el-main class="ep-body">
        
            <epl-top-bar :datas="{panel: panel,tableData:tableData}" 
              showPerson personType="PERSON_AAC031_1" psTagType="PERSON_AAB001_GROUP" isSearch>
                <!-- <ep-button size="small" name="打印"></ep-button>
                <ep-button size="small" name="刷新"></ep-button> -->
            </epl-top-bar>
          
         <el-form :model="form" :rules="rules" ref="form">
            <el-card class="ep-card">
                <ep-title>人员身份合并</ep-title>
                <el-row>
                    <ep-table :data="tableData" border style="width: 100%;"   >
                        <ep-table-column editor="checkbox" width="55" header="保留" ></ep-table-column>  
                        <ep-table-column  sortable editor="text"   name="aac003" header="姓名"></ep-table-column>
                         <ep-table-column sortable editor="select"  codetype="AAC058" name="aac058" header="证件类型"></ep-table-column>
                        <ep-table-column sortable editor="text"  name="aac147" header="证件号码"></ep-table-column>
                         <ep-table-column sortable editor="select"  codetype="AAC004" name="aac004" header="性别"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="aac006" header="出生日期"></ep-table-column>
                         <ep-table-column sortable editor="select"  codetype="AAC009" name="aac009" header="户口性质"></ep-table-column>
                         <ep-table-column sortable editor="text"   name="aac007" header="参加工作时间"></ep-table-column>
                        <ep-table-column header="详细信息" width="100" editor="button">
                            <template slot-scope="scope">
                                <el-button type="text" size="mini" @click="deleteCurrentRow2(scope.row)">详细信息</el-button>
                            </template>
                        </ep-table-column>
                        <ep-table-column header="操作" width="100" editor="button">
                            <template slot-scope="scope">
                                <el-button type="text" size="mini" @click="deleteCurrentRow(scope.row)">删除</el-button>
                            </template>
                        </ep-table-column>
                    </ep-table>

                </el-row>
                  <div style="margin: 15px 0;"></div>
                <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"   @formValidate="formValidate" 
                        :validate="['form']"
                                :datas="{panel:panel}" name="保存"></ep-saveButton>
                </el-row>
            </el-card>
            
            </el-form>
        </el-main>
    </el-main>
</template>


<script src="../js/PsMergeJS.js"></script>
